package cn.ithers.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: zhanghuan
 * @date: 2020/11/6 13:56
 * @description:
 */

@Data
public class CommentDTO implements Serializable {

    @ApiModelProperty(value = "父内容")
    private String parentContent;

    @NotNull
    @ApiModelProperty(value = "文章ID",required = true)
    private String articleId;

    @NotNull
    @ApiModelProperty(value = "评论内容",required = true)
    private String content;

}
